package com.project.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.project.entity.AssetDepreciation;
import com.project.service.AssetDepreciationService;
import com.project.mapper.AssetDepreciationMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author lenovo
 * @description 针对表【t_zczj】的数据库操作Service实现
 * @createDate 2023-04-23 16:15:01
 */
@Service
public class AssetDepreciationServiceImpl extends ServiceImpl<AssetDepreciationMapper, AssetDepreciation>
        implements AssetDepreciationService {

    @Autowired
    private AssetDepreciationMapper assetDepreciationMapper;

    @Override
    public List<AssetDepreciation> list(Map<String, Object> map) {
        return assetDepreciationMapper.list(map);
    }

    @Override
    public long getTotal(Map<String, Object> map) {
        return assetDepreciationMapper.getTotal(map);
    }
}




